import Vue from 'vue';
import Vuex from 'vuex';
import hotSong from './modules/hot-song';
import hotSearch from './modules/hot-search';
import recommend from './modules/recommend';
import PlayList from './modules/play-list';
Vue.use(Vuex);

export default new Vuex.Store({
  // 模块化
  modules: {
    hotSong,
    hotSearch,
    recommend,
    PlayList,
  },
});